<template>
  <div class="btnSubmit" @click="clickbtn"> {{btntext}}</div> 
</template>
<script>
export default {
    props:['btntext'],
    methods:{
        clickbtn(){
            // console.log('子组件被点击啦，嘻嘻');
            this.$emit('clicked')
        }
    }
}
</script>
<style lang='less' scoped>
.btnSubmit {
    /* // padding-top: 26/360*100vw; */
        width: 100%;
        height: 48/360*100vw;
        line-height: 48/360*100vw;
        text-align: center;
        font-size: 18px;
        background: #cc3300;
        color: white;
        border: none;
        outline: none;
        border-radius: 24/360*100vw;
}

</style>